package com.owc.domain.DO;

import com.owc.common.enums.BuyChannelEnum;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author xiaom
 * @Date 2020/3/2 11:33
 * @Version 1.0.0
 * @Description <>
 **/
@Data
public class BuyModel {
    /**
     * 购买金额
     */
    private BigDecimal buyAmount;
    /**
     * 购买的产品ID
     */
    private Long productId;
    /**
     * 购买人
     */
    private Long userId;
    /**
     * 代理购买用户ID  (如果存在)
     */
    private Long proxyUserId;

    /**
     * 下单渠道 (默认正常下单渠道)
     */
    private BuyChannelEnum channel = BuyChannelEnum.NORMAL_CHANNEL;

}
